package com.yic.module.base.controller.admin.item.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 产品通用信息 Excel 导出 Request VO，参数和 ItemPageReqVO 是一致的")
@Data
public class ItemExportReqVO {

    @Schema(description = "产品名称", example = "赵六")
    private String name;

    @Schema(description = "产品编号")
    private String code;

    @Schema(description = "图号")
    private String drawCode;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "分类ID", example = "8340")
    private Long categoryId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
